<?php

namespace App\Http\Controllers\Home;

use Illuminate\Http\Request;
use DB;
use App\Http\Requests;
use App\Http\Controllers\Controller;

class PortalController extends Controller
{
    //
	public function getIndex()
	{
		//echo '222';
		// dd(session('id'));
		$id=(session('id'));
		//dd($id);
		$user = DB::table('userdetail')->where('id',$id)->first();
		//dd($user);
		return view('Home.portal.index',['user'=>$user]);
	}
}
